<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>
<script>
  // 对象 => 对一个或一类事物特征和行为的描述

  // 描述一件商品
  // var goods = {
  //     goodsId:"10034856045780",
  //     goodsName:"妃士（FEISZ）21-7-16",
  //     goodsDetail:"FEISZ妃士 刀具套装菜刀菜板厨具厨房用品水果刀砧板案板家用二合一套刀厨刀锅铲 水果刀",
  //     goodsImg:"https://img10.360buyimg.com/n1/jfs/t1/200623/21/432/553713/610ba36fE95041240/02f5f60e7a00c1f7.jpg",
  //     goodsPrice:"18.88",
  // }

  // 20件商品   => 数组中放多个对象
  var goodsList = [{
    goodsId: "10034856045780",
    goodsName: "妃士（FEISZ）21-7-16",
    goodsDetail: "FEISZ妃士 刀具套装菜刀菜板厨具厨房用品水果刀砧板案板家用二合一套刀厨刀锅铲 水果刀",
    goodsImg: "https://img10.360buyimg.com/n1/jfs/t1/200623/21/432/553713/610ba36fE95041240/02f5f60e7a00c1f7.jpg",
    goodsPrice: "18.88",
  }, {
    goodsId: "10034856045780",
    goodsName: "妃士（FEISZ）21-7-16",
    goodsDetail: "FEISZ妃士 刀具套装菜刀菜板厨具厨房用品水果刀砧板案板家用二合一套刀厨刀锅铲 水果刀",
    goodsImg: "https://img10.360buyimg.com/n1/jfs/t1/200623/21/432/553713/610ba36fE95041240/02f5f60e7a00c1f7.jpg",
    goodsPrice: "18.88",
  }, {
    goodsId: "10034856045780",
    goodsName: "妃士（FEISZ）21-7-16",
    goodsDetail: "FEISZ妃士 刀具套装菜刀菜板厨具厨房用品水果刀砧板案板家用二合一套刀厨刀锅铲 水果刀",
    goodsImg: "https://img10.360buyimg.com/n1/jfs/t1/200623/21/432/553713/610ba36fE95041240/02f5f60e7a00c1f7.jpg",
    goodsPrice: "18.88",
  }, {
    goodsId: "10034856045780",
    goodsName: "妃士（FEISZ）21-7-16",
    goodsDetail: "FEISZ妃士 刀具套装菜刀菜板厨具厨房用品水果刀砧板案板家用二合一套刀厨刀锅铲 水果刀",
    goodsImg: "https://img10.360buyimg.com/n1/jfs/t1/200623/21/432/553713/610ba36fE95041240/02f5f60e7a00c1f7.jpg",
    goodsPrice: "18.88",
  }]

</script>

</html>